package ast;

public class InstVarDecNode extends Node {

	public String modifier;
	
    public InstVarDecNode (String modifier, BasicTypeDecNode right) {
        this.left = null;
        this.right = right;
        this.modifier = modifier;
    }

    public InstVarDecNode (String modifier, ObjTypeDecNode right) {
        this.left = null;
        this.right = right;
        this.modifier = modifier;
    }

    public Object accept(Visitor v) {
    	return v.visit(this);
    }

}
